﻿<UserControl x:Class="MyPoints.UserControls.UrlTextBlock"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:MyPoints.UserControls"
             mc:Ignorable="d" 
             x:Name="parent"
             d:DesignHeight="24" d:DesignWidth="100">
  <Hyperlink DataContext="{Binding ElementName=parent}" x:Name="txtLink" NavigateUri="{Binding NavigateUri}" Click="txtLink_Click" RequestNavigate="txtLink_RequestNavigate">
    <TextBlock x:Name="txtText" Text="{Binding Text}"/>
  </Hyperlink>
</UserControl>
